/*******************************************************************************
 * Copyright (c) 2011 Grupo de Sistemas Inteligentes (GSI) - DIT UPM
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package es.upm.dit.gsi.eclipse.jadex.adfmanager.wizards;

import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.ui.IImportWizard;
import org.eclipse.ui.IWorkbench;

import es.upm.dit.gsi.eclipse.jadex.util.ImageFactory;

/**
 * Wizard for importing a capability from the web repository
 * 
 * @author Mario Moreno
 * 
 */

public class ImportCapabilityWizard extends Wizard implements IImportWizard {
	
	private ImportCapabilityWizardPage page1;

	public ImportCapabilityWizard() {
		super();
		setNeedsProgressMonitor(true);
		setDefaultPageImageDescriptor(ImageFactory.getImageDescriptor(ImageFactory.GSI_BANNER_SMALL));
	}
	
	/**
	 * Adding the page to the wizard.
	 */
	public void addPages() {
		page1 = new ImportCapabilityWizardPage();
		addPage(page1);
	}
	
	@Override
	public void init(IWorkbench workbench, IStructuredSelection selection) {
	}

	@Override
	public boolean performFinish() {
		return false;
	}

}
